package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 电梯驱动方式
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_elevator_drive_mode")
public class ElevatorDriveMode extends TenantEntity {
	/**
	 * 父级id
	 */
	@TableField(value = "parent_id")
	private Long parentId;

	/**
	 * 设备代码前4位
	 */
	@TableField(value = "code")
	private String code;

	/**
	 * 驱动方式名称
	 */
	@TableField(value = "`name`")
	private String name;

	/**
	 * 对应字段Json
	 */
	@TableField(value = "field_template",typeHandler = JacksonTypeHandler.class)
	private List<Map<String,Object>> fieldTemplate;
}
